package com.example.lxc415billiards.mapper;

import com.example.lxc415billiards.domain.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {
    List<Goods> selectAllGoods();

    Goods selectGoodsById(int goodId);

    int insertGoods(Goods goods);

    int deleteGoodsById(int goodId);

    int updateGoods(Goods goods);
}
